followed by a time string in 24h format.
i.e. "May 25, 14:30" */
// xgettext:no-c-format
- format = N_("%B %d, %H\u2236%M");
+ format = N_("%B %-d, %H\u2236%M");
else
/* Translators: this is the month name, day number, year
number followed by a time string in 24h format.
i.e. "May 25 2012, 14:30" */
// xgettext:no-c-format
- format = N_("%B %d %Y, %H\u2236%M");
+ format = N_("%B %-d %Y, %H\u2236%M");
} else {
// Show only the time if date is on today
if (daysAgo < 1 || params.timeOnly)
followed by a time string in 12h format.
i.e. "May 25, 2:30 pm" */
// xgettext:no-c-format
- format = N_("%B %d, %l\u2236%M %p");
+ format = N_("%B %-d, %l\u2236%M %p");
else
/* Translators: this is the month name, day number, year
number followed by a time string in 12h format.
i.e. "May 25 2012, 2:30 pm"*/
// xgettext:no-c-format
- format = N_("%B %d %Y, %l\u2236%M %p");
+ format = N_("%B %-d %Y, %l\u2236%M %p");
}
let formattedTime = date.format(Shell.util_translate_time_string(format));
if (sameYear(this._date, now))
/* Translators: Shown on calendar heading when selected day occurs on current year */
dayFormat = Shell.util_translate_time_string(NC_("calendar heading",
- "%A, %B %d"));
+ "%A, %B %-d"));
else
/* Translators: Shown on calendar heading when selected day occurs on different year */
dayFormat = Shell.util_translate_time_string(NC_("calendar heading",
- "%A, %B %d, %Y"));
+ "%A, %B %-d, %Y"));
this._title.label = this._date.toLocaleFormat(dayFormat);
},
* "Tue 9:29 AM"). The string itself should become a full date, e.g.,
* "February 17 2015".
*/
- let dateFormat = Shell.util_translate_time_string (N_("%B %e %Y"));
+ let dateFormat = Shell.util_translate_time_string (N_("%B %-d %Y"));
this._dateLabel.set_text(date.toLocaleFormat(dateFormat));
/* Translators: This is the accessible name of the date button shown